<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:71:"/app/wwwroot/root/gongzi/public/../application/index/view/index/my.html";i:1671875145;s:67:"/app/wwwroot/root/gongzi/application/index/view/layout/default.html";i:1671875144;s:67:"/app/wwwroot/root/gongzi/application/index/view/common/sidenav.html";i:1671875144;s:66:"/app/wwwroot/root/gongzi/application/index/view/common/script.html";i:1671875145;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo (isset($title) && ($title !== '')?$title:'工资条'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config); ?>
        };
    </script>
</head>
<body>
<?php if(!$is_mobile && !empty($back_btn)): ?>
<header class="mui-bar mui-bar-nav">
    <?php if($back_btn == 'back'): ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="javascript:window.history.back();"></a>
    <?php elseif($back_btn == 'hide'): else: ?>
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="<?php echo $back_btn; ?>"></a>
    <a href="<?php echo $back_btn; ?>">&nbsp;</a>
    <?php endif; ?>
    <h1 class="mui-title"><?php echo (isset($title) && ($title !== '')?$title:''); ?></h1>
</header>
<?php endif; ?>
<div class="mui-content">
    <div class="main">
        <div class="mui-card wd_item">
            <div class="head_img"><img src="<?php echo cdnurl(htmlentities($user['avatar'])); ?>" alt=""/></div>
            <div class="text">
                <h3><?php echo (isset($user['nickname']) && ($user['nickname'] !== '')?$user['nickname']:'-'); ?></h3>
                <p><?php echo (isset($user['position']) && ($user['position'] !== '')?$user['position']:'-'); ?></p>
            </div>
        </div>
        <ul class="mui-table-view wd_item2">
            <li class="mui-table-view-cell">
                <a class="mui-navigate-right" href="<?php echo url('index/my_feedback'); ?>"><img src="/assets/index/images/wd_icon01.png" class="icon" alt=""/>我的反馈</a>
            </li>
            <?php if($payslip_config['open_query_pwd']): ?>
            <li class="mui-table-view-cell">
                <a class="mui-navigate-right" href="<?php echo url('index/my_repassword'); ?>"><img src="/assets/index/images/wd_icon02.png" class="icon" alt=""/>密码设置</a>
            </li>
            <?php endif; ?>
            <li class="mui-table-view-cell">
                <a class="mui-navigate-right" href="<?php echo url('index/my_payslip'); ?>"><img src="/assets/index/images/wd_icon03.png" class="icon" alt=""/>工资条历史</a>
            </li>
            <?php if($user['group_id'] == 2): ?>
            <li class="mui-table-view-cell">
                <a class="mui-navigate-right" href="<?php echo url('manage/index'); ?>"><img src="/assets/index/images/wd_icon04.png" class="icon" alt=""/>进入后台</a>
            </li>
            <?php endif; ?>
        </ul>
    </div>
    <div class="nav">
        <ul class="mui-table-view mui-grid-view">
            <li class="mui-table-view-cell mui-col-xs-6">
                <a href="<?php echo url('index/index'); ?>"><span class="icon"></span><p>工资条</p></a>
            </li>
            <li class="mui-table-view-cell mui-col-xs-6 active">
                <a href="<?php echo url('index/my'); ?>"><span class="icon"></span><p>我的</p></a>
            </li>
        </ul>
    </div>
</div>
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.min.css">
<link rel="stylesheet" type="text/css" href="/assets/index/css/css.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>">
<link rel="stylesheet" type="text/css" href="/assets/index/css/mui.picker.min.css" />
<script src="/assets/index/js/mui.min.js"></script>
<script src="/assets/index/js/mui.picker.min.js"></script>
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
<style>
    body,html {
        position: absolute;
        width: 100%;
        left: 0;
        top:0;
        bottom: 0;
        right: 0;
        height: 100vh;
    }
</style>
</body>
</html>